<template>
  <el-container class="mian">
    <el-aside width="210px">
      <treeMenu  />

    </el-aside>
    <el-main>
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </el-main>
  </el-container>
</template>

<script>
import treeMenu from "@c/treeMenu.vue";
import { mapGetters } from "vuex";
import { mapMutations } from "vuex";
import { tableHead } from "./config";

import aes from "@/util/aes.js";
import axios from "axios";
import Qs from "qs";
export default {
  components: {
    treeMenu
  },
  data() {
    return {
      post: {
        content: "",
        talk_id: "",
        username: "",
        password: "",
        sertype: 0,
        toMemberId: 0,
        token: "",
        port: "pc",
      },
    };
  },
  mounted() {
    if (this.$cookies.get("cookiesAdminUser") !== null) {
   
    }
  },
  methods: {
    ...mapMutations({
      setToken: "setToken",
      delUser: "delUser",
      noRead: "noRead",
    }),
  
  
  },

  computed: {
    ...mapGetters(["getMenuList"]),
  },
};
</script>

<style lang="less" scoped>
.mian {
  height: 100%;
  background: #f6f7fb;
  .el-main {
    box-sizing: border-box;
    min-width: 1130px;
    padding-top: 0px !important;
    box-sizing: border-box;
    padding-left: 0px;
    margin-left: 20px;
    background: #f6f7fb;
  }
  .el-aside {
    box-shadow: 0px 3px 13px 0px rgba(0, 88, 255, 0.18);
  }
}
</style>
